<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>

<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery-min.js"></script>

<script type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<style type="text/css">
.container {
	padding-left: 15%;
}


</style>
</head>
<body>
	<%@include file="pagetop/pagetitle.jsp"%>

	<div class="container">
		<i class="icon-home"></i><a href="index.action">回主页</a>&gt;&gt;&gt;&gt;&gt;约课

		<form action="saveReserLecture.action">
			约课主题:<input type="text" name="lecture.purpose" /><br /> 预约讲课地址:<input
				type="text" name="lecture.lectureraddress" /><br /> 预约客户信息:<br />
			医院名称:<input type="text" name="hospitalname" /><br /> 预约讲课人: <select
				name="lecture.reserlecture">
				<c:forEach var="name" items="${lecturesList}">
					<option>${name}</option>
				</c:forEach>
			</select> 预约时间: 
			<input id="d422" name="lecture.time" class="Wdate" type="text"
	 onClick="WdatePicker()" onFocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true,minDate:'%y-%M-{%d+1}'})"/>
			
		</form>
		<input type="button" class="btn formbtn" value="约课(别点)" /><span style="font-family: 方正静蕾简体;color: #CDD5EO;">小芳姐说暂时不加这个功能了</span>
	</div>
</body>

<script type="text/javascript">
	
	$(function() {
		$(".formbtn").click(function() {
			alert("都说别点了");
			//alert($("input[name='lecture.time']").val());
			//$("form").submit();
		});
	});
</script>
</html>